import unittest


class MyTestcase(unittest.TestCase):

    def setUp(self) -> None:
        print('setUp....')

    def test01(self):
        print('test01')
        self.assertEqual(1+2, 3)

    def test02(self):
        print('test02')
        self.assertGreater(4, 3)

    # 没有以test命名，不会执行
    def aa(self):
        self.assertGreater(4, 3)

    def tearDown(self) -> None:
        print('tearDown....')


if __name__ == '__main__':
    unittest.main()